OutdoorView

@Serializable
data class OutdoorView(    val enabled: Boolean? = false,     val attributionPosition: MPIOptions.OUTDOOR_ATTRIBUTION_POSITION? = null,     val authURL: String? = null,     val customAttribution: String? = null,     val headers: Map<String, String>? = null,     var layersHiddenByGeometry: List<String>? = null,     val lowDpi: Boolean? = false,     val url: String? = null)

Configuration for Outdoor view. Outdoor view Requires MPIOptions.ShowVenue.multibufferRendering to be enabled.

It isn't permitted to use .headers and .authURL options simultaneously.

Constructors

Link copied to clipboard
constructor(    enabled: Boolean? = false,     attributionPosition: MPIOptions.OUTDOOR_ATTRIBUTION_POSITION? = null,     authURL: String? = null,     customAttribution: String? = null,     headers: Map<String, String>? = null,     layersHiddenByGeometry: List<String>? = null,     lowDpi: Boolean? = false,     url: String? = null)

Properties

Link copied to clipboard

The position on the map where the attribution should be displayed.

Link copied to clipboard
val authURL: String? = null

The URL to obtain an authentication token. It isn't permitted to use .headers and .authURL options simultaneously.

Link copied to clipboard

Custom text or an array of texts to be used for the map attribution.

Link copied to clipboard
val enabled: Boolean? = false

Enable or disable outdoor view.

Link copied to clipboard
val headers: Map<String, String>? = null

An object containing HTTP headers for authentication purposes. It isn't permitted to use .headers and .authURL options simultaneously.

Link copied to clipboard

Outdoor map layers which should be hidden under the indoor geometry.

Link copied to clipboard
val lowDpi: Boolean? = false

If set to true, the map will be rendered in dpi=1 mode, which should improve performance.

Link copied to clipboard
val url: String? = null

The URL to the map style file.